home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / SpriteWorld 2.0 ƒ / SpriteWorld Examples / SpriteTest / About.h < prev    next >
Encoding:
Text File  |  1996-04-18  |  1.1 KB  |  73 lines  |  [TEXT/KAHL]

  1. //--------------------------------------------------------------------------------------
  2. //    About.h
  3. //
  4. //    By:        Tony Myles
  5. //
  6. //    Copyright: © 1993-94 Tony Myles, All rights reserved worldwide.
  7. ///--------------------------------------------------------------------------------------
  8.  
  9.  
  10. #ifndef __ABOUT__
  11. #define __ABOUT__
  12.  
  13. #ifndef __DIALOGS__
  14. #include <Dialogs.h>
  15. #endif
  16.  
  17. #ifndef __EVENTS__
  18. #include <Events.h>
  19. #endif
  20.  
  21. #ifndef __SPRITE__
  22. #include <Sprite.h>
  23. #endif
  24.  
  25.  
  26. enum
  27. {
  28.     kAboutDialogID = 1000,
  29.     kEarthCIconID = 300,
  30.     kShadowCIconID = 301,
  31.     kNumberOfShadowFrames = 5,
  32.     kInitialSpeed = 14,
  33.     kMaxSpeed = 17,
  34.     kReturnChar = 0x0D,
  35.     kEnterChar = 0x03
  36. };
  37.  
  38.  
  39. #ifndef NewModalFilterProc
  40. #define NewModalFilterProc(x) (x)
  41. #endif
  42.  
  43.  
  44. #ifdef __cplusplus
  45. extern "C" {
  46. #endif
  47.  
  48.  
  49. void DisplayAboutBox(void);
  50.  
  51. pascal void versUserItem (
  52.     DialogPtr theDialog, 
  53.     short itemNo);
  54.  
  55. SW_FUNC void ShadowFrameProc(
  56.     SpritePtr srcSpriteP,
  57.     FramePtr curFrameP,
  58.     long* curFrameIndex);
  59.  
  60. SW_FUNC void EarthMoveProc(
  61.     SpritePtr srcSpriteP);
  62.  
  63. pascal Boolean AboutDialogFilter(
  64.     DialogPtr aboutDialogP,
  65.     EventRecord *event,
  66.     short *itemHit);
  67.  
  68.  
  69. #ifdef __cplusplus
  70. };
  71. #endif
  72. #endif
  73.